POV-Ray : Newsgroups : povray.newusers : Layered transparency : Re: Layered transparency Server Time
2 Nov 2024 15:23:25 EDT (-0400)
  Re: Layered transparency  
From: Warp
Date: 19 Jan 2004 15:14:30
Message: <400c3aa6@news.povray.org>
Wouter Verhelst <wou### [at] grepbe> wrote:
> I'm trying to create a wall with a graffiti image on it. To that
> end, I downloaded a grafitti image from a website, converted it to a
> .png, made some part of it transparent, and layered it over a brick
> pattern. That didn't work, however; the transparent pixels in the .png
> caused the brick pattern to become transparent as well.

  That's not because there would be something wrong with using a png.
It's because you defined your texture wrong.
  You should post a small (but complete, ie. renderable) piece of code
demonstrating what you are doing.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.